<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<center>
    <form action="${pageContext.servletContext.contextPath}/user/reg.do" method="post">
        <label>用户名：</label><input type="text" name="username" placeholder="请输入用户名"><br>
        <label>密码：</label><input type="password" name="password" placeholder="请输入密码"><br>
        <label>性别：</label><input type="text" name="sex" placeholder="请输入性别"><br>
        <label>年龄：</label><input type="text" name="age" placeholder="请输入年龄"><br>
        <input type="submit" value="注册">
    </form>
    <hr>
    <a href="${pageContext.servletContext.contextPath}/user/find_user_by_id.do/99/DC">点击查询数据</a>
    <hr>
    <a href="${pageContext.servletContext.contextPath}/user/update.do?name=DC&pswd=123">点击修改数据</a>
</center>
</body>
</html>
